Skip to content

CI: the visual job runs against app/ (sc-8900) - #117

Open
ndbroadbent wants to merge 1 commit into
mainfrom
visual-job-app
Open

ndbroadbent wants to merge 1 commit into
mainfrom
visual-job-app

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

CI's visual job now takes VisualCI's own screenshots against app/, the app production runs since the cutover, instead of the old Loco server (sc-8900, and the prerequisite for sc-9027's frontend PR).

What changes

  • scripts/ci/visual.sh capture starts app/target/debug/visualci-app, following the rehearsal's parity.sh:
    • a fresh database, then migrate and screenshots:seed (app/: screenshots:seed, the visual job's dataset (sc-8900 cutover) #100's dataset);
    • the bucket made if missing, since the app makes none (with aws on the runner, else the aws-cli image);
    • an env file with APP_ENV=local, DEV_LOGIN=true, the database session/cache/queue and the fixed VISUALCI_NOW;
    • serve and queue:work on port 5151, with the built React app as its public folder.
  • After that it runs the same Playwright capture and checks, fetches the same site files (llms.txt, docs/quick-start.md, visualci.schema.json) and takes the same Vitest snapshots. upload is unchanged.
  • ci.yml's visual job builds visualci-cli (root workspace) and visualci-app (app/) in place of visualci_server.
  • server/ stays in the repository. A separate cleanup PR deletes it.

Expected in this PR's VisualCI build (the coordinator reviews it before anything is approved): the environment differences seen in the rehearsal (build 464: the port and glyph fallback) and the PDF text fix. These become the new baseline.

Checked: a full capture on a build box, with Postgres 17 (loco/loco on 55433) and RustFS (59000) as in the job. Results:

  • capture exits 0;
  • 144 screenshots;
  • every check passes: the new account lands on its organization with the checklist, sign-out works, no page is wider than 390 px at phone width;
  • site files fetched;
  • 39 Vitest tests pass;
  • no 5xx in the server log, only 499s from Playwright cancelling requests as pages close.

actionlint passes.


Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…al.sh seeds and serves visualci-app (migrate, screenshots:seed, serve and queue:work on 5151, its bucket made), the job builds visualci-cli and visualci-app
@visualci-com

visualci-com Bot commented Dec 3, 2026

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #17 · 8 changed, 325 unchanged · waiting for review

This PR vs base: 8 changed since #17, across 2 builds · 8 not approved yet

Snapshot Before After
screenshots/app/build/failed/1440-dark (changed)
screenshots/app/build/failed/1440-dark-2x (changed)
screenshots/app/build/failed/1440-light (changed)
screenshots/app/build/failed/1440-light-2x (changed)
screenshots/app/build/failed/390-dark (changed)
screenshots/app/build/failed/390-dark-2x (changed)
screenshots/app/build/failed/390-light (changed)
screenshots/app/build/failed/390-light-2x (changed)

Updated as builds change. Agents can review with VisualCI's MCP tools.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant